package com.example.concurrency.chapter3;

import java.util.Random;

public class RandomTests {
    public static void main(String[] args) {
        Random random = new Random();
        // 返回 [0, 5) 之间的随机数
        random.nextInt(5);
    }
}
